<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录页面</title>
    <link rel="stylesheet" href="/layui/css/layui.css"/>
    <script src="/layui/layui.js"></script>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!--图标-->
    <link rel="stylesheet" type="text/css" href="/css/login/font-awesome.min.css">
    <!--布局框架-->
    <link rel="stylesheet" type="text/css" href="/css/login/util.css">
    <!--主要样式-->

    <script type="text/javascript" src="/jquery/jquery-3.2.1.min.js"></script>
    <link rel="stylesheet" href="/css/login/login.css">
</head>
<body background="/images/login.jpeg">
    <div id="box">
        <h2>思云后台管理系统</h2>
        <form class="layui-form" id="form" method="post" action="index.html" lay-filter="login_form" th:action="@{/user}" onkeydown="if(event.keyCode==13){return false; }">
            <div class="layui-form-item">
                <label class="layui-form-label"><img src="/images/zhanghao.png"> 账号：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" type="text" id="account" name="account" required lay-verify="required" placeholder="请输入账号"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><img src="/images/mima.png"> 密码：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" type="password" id="password" name="password" required lay-verify="required" placeholder="请输入密码"/>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-inline">
                    <input type="text" id="verity" class="layui-input" style="margin-left:110px;width:87px;" placeholder="输入验证码"/>
                </div>
                <div class="layui-inline">
                    <img class="verifyImg" id="verifyImg" onclick="javascript:getvCode();"/>
                </div>
            </div>
            <div class="layui-form-item">
                <input type="submit" class="login100-form-btn layui-hide" id="goLogin" lay-submit lay-filter="sub"/>
                <button type="button" id="login" class="layui-btn" lay-filter="login_button" lay-submit="">点击登录</button>
            </div>
        </form>
    </div>
</body>
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<script src="/js/login.js"></script>
</html>